package cn.tmall;


import cn.tmall.node.Node;
import cn.tmall.node.ZTreeNode;
import cn.tmall.entity.system.Role;

import java.util.List;

public interface IRoleService {
  List<ZTreeNode> roleTreeList();

  List<ZTreeNode> roleTreeListByRoleId(Long[] ids);


  void setAuthority(Long roleId, String ids);

  void delRoleById(Long roleId);


  List<Node> generateRoleTree(List<ZTreeNode> list);

  List<Role> findByName(String name);
}
